<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>管理员登录-WeAdmin Frame型后台管理系统-WeAdmin 1.0</title>
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./static/css/font.css">
	<link rel="stylesheet" href="./static/css/weadmin.css">
    <script src="./lib/layui/layui.js" charset="utf-8"></script>

</head>
<body class="login-bg">
    
     <div class="login">
	<i class="layui-icon layui-icon-login-weibo" style="color: #1E9FFF;"></i>注册界面
        
        <form method="post" class="layui-form" >
            <div class="layui-form-item">
                <label class="layui-form-label">用户名</label>
                <div class="layui-input-inline">
                  <input type="text" name="username" id="username" lay-verify="required" autocomplete="off"  class="layui-input">
                </div>
                 
              </div>
          <div class="layui-form-item">
            <label class="layui-form-label">密码</label>
            <div class="layui-input-inline">
              <input type="text" name="password" id="password" lay-verify="required" autocomplete="off"  class="layui-input">
            </div>
             
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-inline">
              <input type="text" name="name" id="name" lay-verify="required" autocomplete="off" class="layui-input">
            </div>
            
          </div>
			
			<div class="layui-form-item">
            <label class="layui-form-label">电子邮件</label>
            <div class="layui-input-inline">
              <input type="text" name="email" id="email" lay-verify="required" autocomplete="off" 
 class="layui-input">
            </div>
            
          </div>
        <div class="layui-form-item">
				<label class="layui-form-label">性别</label>
				<div class="layui-input-block">
					<input type="radio" id="sex" name="sex" value="男" title="男"> 
					<input type="radio" id="sex" name="sex" value="女" title="女" checked>
				</div>
			</div>
          
          <div class="layui-form-item">
            <div class="layui-input-block">
              <button class="layui-btn" lay-submit="" id = "demo1" lay-filter="demo1">提交</button>
              <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
          </div>
        </form>
    </div>

    <script type="text/javascript">
        
        	layui.extend({
				admin: '{/}./static/js/admin'
			});
            layui.use(['form','admin'], function(){
              var form = layui.form
              	,admin = layui.admin;
              // layer.msg('玩命卖萌中', function(){
              //   //关闭后的操作
              //   });
              //监听提交
              form.on('submit(login)', function(data){
                // alert(888)
                layer.msg(JSON.stringify(data.field),function(){
                    location.href='./index.html'
                });
                return false;
              });
            });   
    </script>  
    <!-- 底部结束 -->
</body>
</html>